package util

type ConnectionBackwardPagination struct {
	Last   *int    `json:"last"`
	Before *string `json:"before"`
}

type ConnectionForwardPagination struct {
	First *int    `json:"first"`
	After *string `json:"after"`
}

type DefaultPagination struct {
	Current  int `json:"current"`
	PageSize int `json:"pageSize"`
	MaxSize  int `json:"maxSize"`
}

type ConnectionPagination struct {
	Backward *ConnectionBackwardPagination `json:"backward"`
	Forward  *ConnectionForwardPagination  `json:"forward"`
	Default  *DefaultPagination            `json:"default"`
}
